//
//  HomeProjectMarkCell.m
//  BigToBig
//
//  Created by liuyi on 7/18/16.
//  Copyright © 2016 cn.cloudtp. All rights reserved.
//

#import "HomeProjectMarkCell.h"


@implementation HomeProjectMarkCell

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        [self createView];
    }
    return self;
}

- (void)createView{
    self.backgroundColor = [UIColor whiteColor];
    self.titleLabel = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, self.contentView.frame.size.width,self.contentView.frame.size.height)];
    [self.contentView addSubview:self.titleLabel];
    self.titleLabel.backgroundColor = COLOR_RGBA(247, 247, 247, 1);
    self.titleLabel.text = self.markContent;
    self.titleLabel.font = [UIFont systemFontOfSize:12];
    self.titleLabel.textColor = [UIColor lightGrayColor];
    self.titleLabel.textAlignment = 1;
}

- (void)setMarkContent:(NSString *)markContent{
    if (_markContent == nil) {
        _markContent = markContent;
    }
    self.titleLabel.text = self.markContent;
}

@end
